Algebraic Semantics of OCL-Constrained Metamodel Specifications
نویسندگان
چکیده
In the definition of domain-specific languages a MOF metamodel is used to define the main types of its abstract syntax, and OCL invariants are used to add semantic constraints. The semantics of a metamodel definition can be given as a model type whose values are well-formed models. A model is said to conform to its metamodel when it is a value of the corresponding model type. However, when OCL invariants are involved, the concept of model conformance has not yet been formally defined in the MOF standard. In this work, the concept of OCL-constrained metamodel conformance is formally defined and used for defining style-preserving software architecture configurations. This concept is supported in MOMENT2, an algebraic framework for MOF metamodeling, where OCL constraints can be used for both static and dynamic analysis.
منابع مشابه
MOMENT: A Formal Framework for MOdel managemMENT
Model-Driven Development is a field in Software Engineering that, for several years, has repre-sented software artifacts as models in order to improve productivity, quality, and cost effectiveness.Models provide a more abstract description of a software artifact than the final code of the appli-cation. In this field, Model-Driven Architecture (MDA) is an initiative, sponsored by the...
متن کاملA precise approach to validating UML models and OCL constraints
The Unified Modeling Language (UML) is a widely accepted standard for modeling software systems. The UML supports object-oriented approaches to software development with a rich set of modeling concepts. The graphical notation of UML includes diagrams such as use case diagrams, class diagrams, state diagrams and sequence diagrams. These are used for describing static as well as dynamic aspects o...
متن کاملImproving the OCL Semantics Definition by Applying Dynamic Meta Modeling and Design Patterns
OCL is a standard specification language, which will probably be supported by most software modeling tools in the near future. Hence, it is important to OCL to have a solid formal foundation, for its syntax and its semantic definition. Currently, OCL is being formalized by metamodels expressed in MOF, complemented by well formedness rules written in the own OCL. This recursive definition not on...
متن کاملSemantics of OCL Operation Specifications
The semantics of OCL operation specifications is discussed from a model theoretic perspective. It is argued that the semantics of operation specifications as defined in the OCL 2.0 proposal is not compatible with the view of operation specifications as contracts between a client and a supplier. As a solution, a semantics of OCL operation specifications based on standard model theory is presente...
متن کاملModélisation rigoureuse en SPEM de procédé de développement
Mastering software process is a keypoint in the improvement of application quality. OMG proposes the SPEM metamodel to model software processes. Unfortunately, it is a high level specification which lacks a formal description of its semantics. It is thus difficult to use SPEM. So, we propose a restriction of SPEM that clarifies its concepts and which is completed with a formalization of its sem...
متن کامل